home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Format 2004 Junue - Disc 1
/
MacFormat 143 CD1.iso
/
Serious Software
/
Geo3D 2.1.2
/
Sample Scripts
/
Viewpoints
< prev
Wrap
Text File
|
2003-05-27
|
572b
|
17 lines
tell application "Geo3D"
activate
make new document
camera fromX -37.23 fromY 54.94 fromZ 100 toX 11.47 toY 25.21 toZ 38.31 upX -0.2382 upY 0.788 upZ -0.5677 FOV 22.0
add viewpoint named "Just a Viewpoint" -- item 1
left view -- menu Viewer/Camera
add viewpoint named "Left" -- item 2
top view -- menu Viewer/Camera
add viewpoint named "Top" -- item 3
show viewpoint item 1
next viewpoint -- item 2
next viewpoint -- item 3
previous viewpoint -- item 2
remove viewpoint item 3 -- remove "Top"
-- (item 0 = remove current item; item -1 = remove all)
end tell